package com.link.base.base.questionnairesurvey.service;

import com.link.base.base.user.model.User;
import com.link.base.base.questionnairesurvey.dao.mybatis.mapper.SurveyUserMapper;
import com.link.base.base.questionnairesurvey.model.SurveyUser;
import com.link.core.basic.dao.mapper.BasicMapper;
import com.link.core.basic.service.BasicServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;


/**
 * @author 刘鲁
 * @date 2018-07-04
 * @comments 作答用户服务
 */
@Service
public class SurveyUserServiceImpl extends BasicServiceImpl<SurveyUser> implements SurveyUserService {

    @Resource
    private SurveyUserMapper surveyUserMapper;

    @Override
    public BasicMapper<SurveyUser> getBasicMapper() {
        return surveyUserMapper;
    }

    @Override
    public List<User> queryAllUserExamplePage(SurveyUser user) {
        return surveyUserMapper.queryAllUserExamplePage(user);
    }
}
